home *** CD-ROM | disk | FTP | other *** search
- Path: dispatch.news.demon.net!demon!andyandy.demon.co.uk
- From: andy@andyandy.demon.co.uk (Andy Turner)
- Newsgroups: comp.lang.c++
- Subject: overloading function problem
- Date: Fri, 16 Feb 1996 12:54:04 GMT
- Message-ID: <824475233.24366@andyandy.demon.co.uk>
- NNTP-Posting-Host: andyandy.demon.co.uk
- X-NNTP-Posting-Host: andyandy.demon.co.uk
- X-Newsreader: Forte Agent .99b.112
-
- I want to overload a function so that it has two versions but the
- arguments resolve to the same thing ie:
-
- private:
- CEntry *GetEntry (UINT);
- CEntry *GetEntry (ATOM);
-
- the problem is that the ATOM is actually
-
- #define ATOM UINT
-
- or something like that, so it thinks I'm declaring the same function.
- Is there anyway of telling it the distinction? I've tried using
-
- #define STRICT
-
- but it seems to have no effect.
-
- AndyT
-
- andy@andyandy.demon.co.uk
-
-
-
-
-